/**
 * 
 */

package com.wutianyi.interesting;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

import org.apache.commons.lang.StringUtils;

/**
 * @author wutianyi
 * 
 */
public class CommandLine {

	private static void showMune() {
		System.out.println("1. 显示所有\r\n的节点信息");
		System.out.println("2. 修改域名");
		System.out.println("3. 删除几点");
		System.out.println("4. 退出");
	}
	
	public static void main(String[] args) throws IOException {
		
		showMune();
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String command = reader.readLine();
		while(StringUtils.isNotBlank(command) && !"4".equals(command)) {
			showAllNode();
			
			command = reader.readLine();
		}
	}

	/**
	 * 
	 */
	private static void showAllNode() {

//		System.out.println("")
	}
}
